<?php

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Sudomains Creating Page</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
	<form action="process.php" method="POST" name="frmSubdom">
		<div align="center" >
		<h3>Dtdns subdomain creating form</h3>
		<?php if(isset($_GET['success'])) echo '<p class="success">' . $_GET['success']. '</p>';?>
		<?php if(isset($_GET['error'])) echo '<p class="error">' . $_GET['error']. '</p>';?>
		<label>Username: </label><input type="text" id="username" name="username" /> <br />
		<label>Password: </label><input type="password" id="password" name="password" /> <br />
		<label>Domains:</label><textarea cols="20" rows="5" id="dtdns_subdom" name="dtdns_subdom"></textarea>
		<select id="dtdns_domain" name="dtdns_domain">
			<option value="20">.3d-game.com</option>
	       <option value="15">.4irc.com</option>
	       <option value="16">.b0ne.com</option>
	       <option value="17">.bbsindex.com</option>
	       <option value="12">.chatnook.com</option>
	       <option value="1">.darktech.org</option>
	       <option value="18">.deaftone.com</option>
	       <option value="2">.dtdns.net</option>
	       <option value="19">.effers.com</option>
	       <option value="6">.etowns.net</option>
	       <option value="5">.etowns.org</option>
	       <option value="10">.flnet.org</option>
	       <option value="13">.gotgeeks.com</option>
	       <option value="7">.scieron.com</option>
	       <option value="8">.slyip.com</option>
	       <option value="9">.slyip.net</option>
	       <option value="11" selected>.suroot.com</option>
		</select><br />
		<label>Wildcard:</label><input type="checkbox" id="dtdns_wildcard" name="dtdns_wildcard" /> <br />
		<label>IP address:</label><input type="text" id="dtdns_ipaddr" name="dtdns_ipaddr" value="<?php echo $_SERVER['REMOTE_ADDR']; ?>"/> <br />
		<input id="btnCreate" type="submit" value="Create" />
</div>
</form>

</body>
</html>